package com.cj.mobile.iabp.mvp.model.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 获取借款结果
 */
public class SmallLoanLoanResponse implements Parcelable {
    public SmallLoanLoanResponse() {
    }

    public SmallLoanLoanResponse(String appSeq, String origPrcp, String tips, String QRCodeContent) {
        this.appSeq = appSeq;
        this.origPrcp = origPrcp;
        this.tips = tips;
        this.QRCodeContent = QRCodeContent;
    }

    // 申请序列号
    private String appSeq;

    // 借款金额
    private String origPrcp;

    // 温馨提醒
    private String tips;

    // 二维码
    private String QRCodeContent;

    public String getAppSeq() {
        return appSeq;
    }

    public void setAppSeq(String appSeq) {
        this.appSeq = appSeq;
    }

    public String getOrigPrcp() {
        return origPrcp;
    }

    public void setOrigPrcp(String origPrcp) {
        this.origPrcp = origPrcp;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public String getQRCodeContent() {
        return QRCodeContent;
    }

    public void setQRCodeContent(String QRCodeContent) {
        this.QRCodeContent = QRCodeContent;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.appSeq);
        dest.writeString(this.origPrcp);
        dest.writeString(this.tips);
        dest.writeString(this.QRCodeContent);
    }

    protected SmallLoanLoanResponse(Parcel in) {
        this.appSeq = in.readString();
        this.origPrcp = in.readString();
        this.tips = in.readString();
        this.QRCodeContent = in.readString();
    }

    public static final Creator<SmallLoanLoanResponse> CREATOR = new Creator<SmallLoanLoanResponse>() {
        @Override
        public SmallLoanLoanResponse createFromParcel(Parcel source) {
            return new SmallLoanLoanResponse(source);
        }

        @Override
        public SmallLoanLoanResponse[] newArray(int size) {
            return new SmallLoanLoanResponse[size];
        }
    };
}
